package com.woniuxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医生表
 * </p>
 *
 * @author litongmiao
 * @since 2022-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Doctor对象", description="医生表")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "职称")
    @TableField("professional_title")
    private String professionalTitle;

    @ApiModelProperty(value = "医院")
    private String hospital;

    @ApiModelProperty(value = "科室")
    private String department;

    @ApiModelProperty(value = "主治")
    private String speciality;

    @ApiModelProperty(value = "医生简介")
    private String introduction;

    @ApiModelProperty(value = "身份证正面")
    @TableField("id_card_front")
    private String idCardFront;

    @ApiModelProperty(value = "身份证背面")
    @TableField("id_card_back")
    private String idCardBack;

    @ApiModelProperty(value = "医生执业证")
    @TableField("practicing_certificate")
    private String practicingCertificate;

    @ApiModelProperty(value = "医师资格证")
    @TableField("qualification_certificate")
    private String qualificationCertificate;

    @ApiModelProperty(value = "职称证")
    @TableField("title_certificate")
    private String titleCertificate;

    @ApiModelProperty(value = "头像")
    @TableField("head_portrait")
    private String headPortrait;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "盐")
    private String salt;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "银行卡号")
    @TableField("bank_number")
    private String bankNumber;

    @ApiModelProperty(value = "资格审核状态")
    @TableField("qualification_status")
    private Boolean qualificationStatus;

    @ApiModelProperty(value = "服务审核状态")
    @TableField("service_status")
    private Boolean serviceStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否认证")
    @TableField("is_certified")
    private Integer isCertified;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
